package cn.px.dao.vo.report;

import cn.px.dao.vo.repair.RepairApplicationFormVO;
import cn.px.office.annotation.Excel;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 *
 * 平均修复时间（Mean time to repair，MTTR）
 *
 * @author 品讯科技
 */
@Data
@Accessors(chain = true)
public class RepairSbInfoReport implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 年
     */
    @Excel(name = "年", orderNum = "1")
    private Integer year;
    /**
     * 故障总次数
     */
    @Excel(name = "故障次数", orderNum = "2")
    private Integer num;
    /**
     * 故障类别
     */
    @Excel(name = "故障类别", orderNum = "3", dicCode="REPAIR_APPLICATION_FORM_CATEGORY")
    private Integer category;
    /**
     * 故障类别
     */
    private String name;
    /**
     * 设备寿命
     */
    @Excel(name = "设备寿命", orderNum = "4")
    private Double workYear;
    /**
     * 明细列表
     */
    List<RepairApplicationFormVO> detailList;
}
